import request from '@/utils/request'

export default {
  /** 系统用户 */
  sysUserList: request.post('/sys-user/page-list'),
  sysUserAdd: request.post('/sys-user/add'),
  sysUserUpdate: request.post('/sys-user/update'),
  sysUserStatusChange: request.get('/sys-user/status-change'),
  initPassword: request.get('/sys-user/init-password'),
  updatePassword: request.post('/sys-user/update-password'),

  /** 菜单管理 */
  authMenuRouter: request.get('/sys-menu/auth-list'),
  allMenuTree: request.get('/sys-menu/all-tree'),
  addMenu: request.post('/sys-menu/add'),
  delMenu: request.get('/sys-menu/delete'),
  updateMenu: request.post('/sys-menu/update'),

  /** 角色管理 */
  sysRolePageList: request.post('/sys-role/page-list'),
  getRoleSelectList: request.get('/sys-role/select-list'),
  deleteSysRole: request.get('/sys-role/delete'),
  sysRoleAdd: request.post('/sys-role/add'),
  sysRoleUpdate: request.post('/sys-role/update'),
  /** 商户信息  查询入驻商户明细信息*/
  selectMerchantInfos: request.post('/merchantInfo/selectMerchantInfos'),
  /** 查询入驻商户明细信息 */
  selectMerchantInfo: request.post('/merchantInfo/selectMerchantInfo'),
  /** 审核变更单信息 列表 */
  selectMerchantChangeInfos: request.post('/merchantInfo/selectMerchantChangeInfos'),
  /** 变更单更新入驻商户基本信息 结算信息变更接口*/
  updateMerchantBaseInfo: request.post('/merchantInfo/updateMerchantBaseInfo'),
  updateMerchantSettlementInfo: request.post('/merchantInfo/updateMerchantSettlementInfo'),
  // 查询变更单入驻商户基本信息
  selectMerchantBaseInfo: request.post('/merchantInfo/selectMerchantBaseInfo'),
  // 查询变更单结算信息
  selectMerchantSettlementInfo: request.post('/merchantInfo/selectMerchantSettlementInfo'),
  // /** 更新入驻商户基本信息  商户中心*/
  updateMerchantInfo: request.post('/merchantInfo/updateMerchantInfo'),
  // 获取地区信息
  merchantInfOelectAreaInfo: request.post('/merchantInfo/selectAreaInfo'),
  // 行业类型
  merchantInfoSselectBusinessInfo: request.post('/merchantInfo/selectBusinessInfo'),
  // 二次上传成功回调
  ossCallback: request.post('/open/oss/callback'),
  // 审核变更单信息
  verifyMerchantChangeInfo: request.post('/merchantInfo/verifyMerchantChangeInfo'),
  verifyMerchantInfo: request.post('/merchantInfo/verifyMerchantInfo'),
  // 修改证件照信息
  updateMerchantManageLicenceInfo: request.post('/merchantInfo/updateMerchantManageLicenceInfo'),
  // 文件上传
  getOssPolicy: request.post('/file/oss/policy')
}
